//
//  MDHSegmentedControlViewModel.swift
//  JSTech
//
//  Created by 高得华 on 2019/6/6.
//  Copyright © 2020 华&梅. All rights reserved.
//

import UIKit

open class MDHSegmentedControlViewModel: MDHTableViewModel {
    ///所有的标题
    @objc public dynamic var titles = [String]()
    ///
    @objc public dynamic var isNeedIndicatorPositionChangeItem = false
    ///
    @objc public dynamic var shouldHandleScreenEdgeGesture = true
    ///高度
    @objc public dynamic var preferredCategoryViewHeight: CGFloat = 50
    ///下面的显示的点、线等是否在下面
    @objc public dynamic var categoryComponentPosition = JXCategoryComponentPosition.bottom
    ///是否是导航栏上的
    @objc public dynamic var isNavSegment = false
    ///是否需要 pagerView
    @objc public dynamic var isPagerView = true
    ///是否需要 底部视图
    @objc public dynamic var isNeedFooter = false
    ///是否需要 顶部视图
    @objc public dynamic var isNeedHeader = false
    
    override public init(services: MDHViewModelServices, params: [AnyHashable : Any]) {
        super.init(services: services, params: params)
    }
}
